XXXXmmmmeeeeGGGGeeeettttDDDDiiiirrrreeeeccccttttiiiioooonnnn is a compound string parse procedure (a
function of type XXXXmmmmPPPPaaaarrrrsssseeeePPPPrrrroooocccc). It is suitable for use as an
XXXXmmmmNNNNiiiinnnnvvvvooookkkkeeeePPPPaaaarrrrsssseeeePPPPrrrroooocccc procedure in an XXXXmmmmPPPPaaaarrrrsssseeeeMMMMaaaappppppppiiiinnnngggg data type.
XXXXmmmmeeeeGGGGeeeettttDDDDiiiirrrreeeeccccttttiiiioooonnnn is triggered when the implicit direction of
the current character in text being parsed is different from
the direction of the previous character. The function
assumes that _t_e_x_t__i_n__o_u_t points to the character whose
direction has changed. It creates a compound string with a
component of type XXXXmmmmSSSSTTTTRRRRIIIINNNNGGGG____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____DDDDIIIIRRRREEEECCCCTTTTIIIIOOOONNNN that
specifies the direction of the character at the _t_e_x_t__i_n__o_u_t
position. The argument _t_e_x_t__i_n__o_u_t remains unchanged.
_t_e_x_t__i_n__o_u_t
Specifies the text being parsed. The value is a
pointer to the first byte of a character whose
implicit direction is different from that of the
previous character. When the parse procedure
returns, this argument is not set to a value
different from the input value.
_t_e_x_t__e_n_d Specifies a pointer to the end of the _t_e_x_t__i_n__o_u_t
string. If _t_e_x_t__e_n_d is _N_U_L_L, the string is
scanned until a _N_U_L_L character is found.
Otherwise, the string is scanned up to, but not
including, the character whose address is
_t_e_x_t__e_n_d.
_t_y_p_e Specifies the type of text and the tag type. For
locale text, _t_y_p_e has a value of either
XXXXmmmmMMMMUUUULLLLTTTTIIIIBBBBYYYYTTTTEEEE____TTTTEEEEXXXXTTTTor XXXXmmmmWWWWIIIIDDDDEEEECCCCHHHHAAAARRRR____TTTTEEEEXXXXTTTT. For charset
text, _t_y_p_e has a value of XXXXmmmmCCCCHHHHAAAARRRRSSSSEEEETTTT____TTTTEEEEXXXXTTTT.
_t_a_g Specifies the tag to be used in determining the
character direction.
_e_n_t_r_y Specifies the parse mapping that triggered the
call to the parse procedure.
_p_a_t_t_e_r_n__l_e_n_g_t_h
Specifies the number of bytes in the input text
that constitute the matched pattern.
_s_t_r__i_n_c_l_u_d_e
Specifies a pointer to a compound string. The
parse procedure creates a compound string to be
included in the compound string being constructed.
The parse procedure then returns the compound
string in this argument.
_c_a_l_l__d_a_t_a Specifies data passed by the application to the
parsing routine.
RRRREEEETTTTUUUURRRRNNNN
This function returns XXXXmmmmIIIINNNNSSSSEEEERRRRTTTT, indicating that the parsing
routine should concatenate the result to the compound string
being constructed and continue parsing.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmPPPPaaaarrrrsssseeeeMMMMaaaappppppppiiiinnnngggg(3), XXXXmmmmPPPPaaaarrrrsssseeeeTTTTaaaabbbblllleeee(3), XXXXmmmmSSSSttttrrrriiiinnnngggg(3), and